<span class="st">当前状态: </span>检查配置文件状态<br />
<hr size="1" color="#cccccc" />
<div class="divInfo">
<div id="divForm">
	<table width="100%" cellspacing="1" border="0" align="center" class="tbForm">
		<tr>
			<th>安装说明</td>
		</tr>
		<tr>
			<td>
			<li>将压缩包中 Upload 目录下全部文件和目录上传到服务器。</li>
			<li>如果您使用非 WINNT 系统请修改以下属性：<br>
			&nbsp; &nbsp;<b>./pisces/code/tmp</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;目录 777;<br> 
			&nbsp; &nbsp;<b>./pisces/backup</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;目录 777;<br> 
			&nbsp; &nbsp;<b>./pisces/code/conf/standard/db.conf.php</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;文件 可写;<br> 
			</li>
			<li>如果./pisces/code/conf/standard/db.conf.php文件不可写，请自行修改该文件上传到网站./code/conf/standard/目录下替换原文件。</li>
			</td>
		</tr>
	</table>
	<br /><br />
	<table width="100%" cellspacing="1" class="tbForm" border="0" align="center">
		<tr><th></th><th>所需配置</th><th>最佳配置</th><th>当前服务器</th>
		</tr>
		<tr>
		<td>操作系统</td>
		<td>不限</td>
		<td>UNIX/Linux/FreeBSD</td>
		<td><?php echo PHP_OS?></td>
		</tr>
		<tr>
		<td>PHP版本</td>
		<td>5.2以上</td>
		<td>5.2以上</td>
		<td><?php echo PHP_VERSION?></td>
		</tr>
		<tr>
		<td>MySQL 支持</td>
		<td>支持</td>
		<td>支持</td>
		<td>{if $this->data['mysql_enabled']}支持{else}<span class="error">不支持</span>{/if}</td>
		</tr>
		<tr>
		<td>磁盘空间</td>
		<td>10M+</td>
		<td>不限</td>
		<td>{$this->data['disk_space']}</td>
		</tr>
	</table>
	<br /><br />
	<table width="100%" cellspacing="1" class="tbForm" border="0" align="center">
		<tr><th width="33%">目录文件名称</th><th width="33%">所需配置</th><th width="33%">当前状态</th></tr>
		<tr>
			<td>./pisces/code/conf/standard/db.conf.php</td>
			<td>可读</td>
			<td>{if $this->data['writeable']['db']}可写{else}可读{/if}<br></td>
		</tr>
		<tr>
			<td>./pisces/code/tmp</td>
			<td>可写</td>
			<td>{if $this->data['writeable']['tmp']}可写{else}<span class="error">不可写</span>{/if}<br></td>
		</tr>
		<tr>
			<td>./pisces/backup</td>
			<td>可写</td>
			<td>{if $this->data['writeable']['backup']}可写{else}<span class="error">不可写</span>{/if}<br></td>
		</tr>
	</table>
	{if !empty($this->data['errors'])}
	<br /><br />
	<table width="100%" cellspacing="1" border="0" align="center" class="tbForm">
		<tr>
			<th>提示信息</td>
		</tr>
		<tr>
			<td>
			{loop $this->data['errors'] $error}
			<li><font color="red">{$error}</font></li>
			{/loop}
			
			</td>
		</tr>
	</table>
	{/if}
</div>
<br /><br /><br />
<form action="{url('Default','Install3')}" method="post">
<input type="button" value="上一步" onclick="history.back()" /> &nbsp;&nbsp;{if $this->data['quit']!=1}<input type="submit" value="下一步" {if $this->data['warning']==1}onclick="return confirm('系统检查到一些安装可能不能正常进行的设置，请仔细检查红色的提示信息后继续安装')"{/if}/>{/if}
</form>
</div>